package com.rybbaby.tss.front.tssMemberPackage.dao;

import com.rybbaby.tss.core.web.dao.IGenericDao;
import com.rybbaby.tss.core.web.dao.imp.GenericDao;
import com.rybbaby.tss.front.tssMemberPackage.entity.TssMemberPackage;
import com.rybbaby.tss.front.tssMemberPackage.entity.ViewMemberPackageStudent;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


public interface ViewMemberPackageStudentDao extends IGenericDao<ViewMemberPackageStudent> {

    /**
     * 无条件查询所有数据
     * */
    List<ViewMemberPackageStudent> getAllList();

    /**
     * 根据ids查询该集合
     * */
    List<ViewMemberPackageStudent> findListByStuId(List<String> stuIds);

    List<ViewMemberPackageStudent> findListByCondition(String stuPhone, String stuName) throws Exception;

    List<ViewMemberPackageStudent> findListByType(Integer type);

    List<ViewMemberPackageStudent> findListByStatus(Integer stuStatus);
}
